package cn.itsource.pet.service;

import cn.itsource.pet.domain.TSearchMasterMessage;
import cn.itsource.pet.domain.ViewSearchMasterUser;
import cn.itsource.pet.query.SearchMasterMessageQuery;
import cn.itsource.user.domain.TLogininfo;
import cn.itsource.utils.AjaxResult;
import cn.itsource.utils.PageList;

public interface ISearchMasterService {
    AjaxResult publish(TSearchMasterMessage masterMessage, TLogininfo logininfo);

    PageList<ViewSearchMasterUser> findPageByParam(SearchMasterMessageQuery query, String token);

    AjaxResult shenghe(Long id, Integer state);
}
